var a = getApp();
Page({
  data: {
    shipin: "",
    navList: [],
    chaping: "",
    banner: ""
  },
  onLoad: function () {
    var a = this;
    tt.getStorageSync("wxapp").chaping;
    a.setData({
      banner: tt.getStorageSync("wxapp").videoad
    }), a.getNavigates();
  },
  getNavigates: function () {
    var t = this;
    tt.request({
      url: "https://dou.j391.com/dongman/find.php",
      timeout: 3e3,
      data: {
        nav: "sdk_more",
        appid: a.globalData.appid
      },
      success: function (a) {
        1 == a.data.code && (t.setData({
          navList: a.data.data
        }), tt.setStorage({
          key: "find_nav_item_list",
          data: a.data.data
        }));
      }
    });
  },
  onPullDownRefresh: function () {
    this.getNavigates();
  },
  followMe: function () {
    tt.previewImage({
      urls: [a.globalData.followMeImg]
    });
  }
});